projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107740f
)
(insert_before_markers_and_inherit): New function.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Aug 1994 07:20:23 +0000
(07:20 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Aug 1994 07:20:23 +0000
(07:20 +0000)
src/insdel.c
patch
|
blob
|
history
diff --git
a/src/insdel.c
b/src/insdel.c
index d368cd86ac1aa14eb4349b5c69f8fe196dd50e59..c071d08dc62535787d6f4fa6b309f99a70a117fe 100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-464,6
+464,19
@@
insert_before_markers (string, length)
}
}
+insert_before_markers_and_inherit (string, length)
+ unsigned char *string;
+ register int length;
+{
+ if (length > 0)
+ {
+ register int opoint = PT;
+ insert_1 (string, length, 1);
+ adjust_markers (opoint - 1, opoint, length);
+ signal_after_change (PT-length, 0, length);
+ }
+}
+
/* Insert part of a Lisp string, relocating markers after. */
insert_from_string_before_markers (string, pos, length, inherit)